package com.mk.magic_c.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mk.magic_c.dto.DiscussPostHomeVo;
import com.mk.magic_c.model.DiscussPost;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Magic Kong
 * @since 2021-10-02
 */
public interface DiscussPostService extends IService<DiscussPost> {

    /**
     * 首页帖子分页
     *
     * @param current 查询页码
     * @param size    页面容量
     */
    Page<DiscussPostHomeVo> listHomePost(long current, long size);
}
